<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script type="text/javascript" src="view/question/myjs/question.js"></script> 
<script type="text/javascript" src="view/question/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="daoepingjs/script_common.js"></script>
<script type="text/javascript" src="view/question/myjs/nation.jsp"></script> 
</head>
<script type="text/javascript"  language="javascript">

$(document).ready(function() {
	selectData("fri-dir-sel","fri-dir-sel","findUsr_friendgroupList","" );
});



</script>
<body>
<div id="friend">
	<form action = "addUsr_friend.action" method="post" id="addUsr_friend">
		<p>
			<select name="usr_friend.usr_friendgroup.id" id="fri-dir-sel" ></select>
			<a style="cursor: hand" onclick="showDirectory('fri')"> <s:text name='createDirectory' /></a> 
		</p>
		<p><input type="text" name="usr_friend.usr_userByFriendId.id" id="usr_userByFriendId" />
		
		frienfcol:<input type="text" name="usr_friend.usrFriendcol" />
		<input type="button" value="<s:text name="add" /><s:text name="to" /><s:text name="my" /><s:text name="friend" />"onclick="addFriend( )">
	</form>
	<div id="fri-dir-messagebox" style="display: none">
		<form>
			<p>
				<s:text name="directory" />
				<input type="text" name="bzn_questionfrigroup.name" id="fri_name" />
			</p>
			<p>
				<s:text name="description" />
				<input type="text" name="bzn_questionfrigroup.description" id="fri_desc" />
			</p>
			<input type="button" value="<s:text name='submit'/>" id="button_frigroup" />

		</form>
	</div>
</div>
	
</body>
</html>